package com.codingman.jpademo3;

import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public class Address {
	@Id
	private Integer id;
	
	private String city;
	private String country;

	public Address(Integer id, String city, String country) {
		this.id = id;
		this.city = city;
		this.country = country;
	}

	public Address() {

	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}
}
